package com.tomato.commons.email;


import lombok.Getter;
import lombok.Setter;

/**
 * 发送的邮件信息
 */
@Getter
@Setter
public class EmailMessage {

    /**
     * 邮件标题
     */
    private String subject;

    /**
     * 邮件内容
     */
    private String text;

    /**
     * 邮件接收人 如果多个收件人用 ; 隔开
     */
    private String recipient;

    /**
     * 邮件抄送人
     */
    private String makeACopyFor;


    public EmailMessage() {}

    public EmailMessage(String subject, String text, String recipient, String makeACopyFor) {
        this.recipient = recipient;
        this.subject = subject;
        this.text = text;
        this.makeACopyFor = makeACopyFor;
    }
}
